const express = require('express')
const linkServer = require('../services/link')

const router = express.Router()

const BASE_URL = '/link'

router.get(`${BASE_URL}`, linkServer.linkList)
router.post(`${BASE_URL}`, linkServer.updateLink)
router.delete(`${BASE_URL}`, linkServer.delLink)

module.exports = router
